{% extends "public/style1/common/base.html" %}

{% block title %}
博文归档
{% endblock %}

{% block style_link %}
<style>
    .title_span {
        display: block;
        margin-top: 20px;
        font-size: 14px;
    }

    .title-lg {
        text-align: center
    }
</style>
{% endblock %}

{% block content %}
<div class="crt-container-sm">
    <div class="crt-paper-layers">
        <div class="crt-paper clearfix">
            <div class="crt-paper-cont paper-padd clear-mrg">
                <h2 class="title-lg text-upper padd-box">博客归档</h2>
                <div class="education">
                    {% for item in archives %}
                    <div class="education-box">
                        <time class="education-date" datetime="2014-01T2016-03">
                            <span> <strong class="text-upper">{{item.archive}}</strong></span>
                        </time>
                        <span>{{item.count}}篇文章</span>
                        <div class="education-logo"></div>
                        <h4 class="education-company">
                            {% for article in item.article %}
                            <div class="title_span">
                                <a href="/view/articles/detail/{{ article.uuid }}">{{article.title}}</a>
                            </div>
                            {% endfor %}
                        </h4>
                    </div>
                    {% endfor %}
                </div>
            </div>
        </div>
    </div>
</div>
{% endblock %}